<%@ page import="com.lianzheng.UserVO" %>
<%@ page import="com.lianzheng.AppConst" %>
<%--
  Created by IntelliJ IDEA.
  User: ChadZhao
  Date: 12-2-1
  Time: 上午9:29
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>南京地税廉政网后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<style type="text/css">
	.container
	{
		width:100%; text-align:left;
	}
	.menuTitle
	{
		width:149px; height:26px; background-image:url(<c:url value='/frame/menubg.gif'/>); background-repeat:no-repeat;  margin:0 auto; line-height:30px; font-size:14px; font-weight:bold;color:#ffffff; margin-top:6px;
	}
	.menuContent
	{
		margin:0 0 0 -10px; height:auto; text-align:left;width:144px;margin:0 0 0 10px \0;
	}
	.menuContent ul { margin:0;padding:0; }

	.menuContent ul li {
		 list-style-type:none; padding:0px 0px 0px 40px; font-size:12px; height:30px; line-height:30px; background: url(<c:url value='/frame/dotline.gif'/>) repeat-x bottom; color:#FFF;
	}

    .menuContent ul li a.menu:link { font-size: 12px; color: #ffffff; text-decoration: none; font-family: "微软雅黑";  line-height:30px;}
    .menuContent ul li a.menu:visited{ font-size: 12px; color: #ffffff; text-decoration: none; font-family: "微软雅黑";  line-height:30px;}
    .menuContent ul li a.menu:hover {color:#f4fd02; font-family: "微软雅黑"; line-height:30px;}

    .body1 {
     text-align:center;
     background:url(<c:url value='/images/menubg_03.jpg'/>) no-repeat #3584d4;
    }
</style>
</head>
<body>
    <jsp:include page="top.jsp"/>
<table border='0' cellspacing='0' cellpadding='0' style="width:1000px;height:450px;" align="center">
    <tr>
        <td class="body1" style='padding-left:3px;padding-top:40px;width:149px;' valign="top">
            <div class="menuTitle">系统管理</div>
            <div class="menuContent">
                <ul>
                <%
                    UserVO user = (UserVO) session.getAttribute(AppConst.USER_KEY);
                    if ("0".equals(user.getUserType())||"2".equals(user.getUserType())) {
                %>
                    <li><img align="absmiddle" src="<c:url value='/frame/arr_06.jpg'/>"> <a
                            href="<c:url value='/system/toUserManage.do'/>" target="conframe" class="menu">用户管理</a></li>
                    <li><img align="absmiddle" src="<c:url value='/frame/arr_06.jpg'/>"> <a
                            href="<c:url value='/system/toCheckArticleList.do?targerPageNum=1'/>" target="conframe" class="menu">文章审核</a></li>
                    <li><img align="absmiddle" src="<c:url value='/frame/arr_06.jpg'/>"> <a
                            href="<c:url value='/system/toCheckVideoList.do?targerPageNum=1'/>" target="conframe" class="menu">音视频审核</a></li>
                    <li><img align="absmiddle" src="<c:url value='/frame/arr_06.jpg'/>"> <a
                            href="<c:url value='/system/toOrderManage.do'/>" target="conframe" class="menu">顺序管理</a></li>
                <%}%>
                    <li><img align="absmiddle" src="<c:url value='/frame/arr_06.jpg'/>"> <a
                            href="<c:url value='/system/toArticleManage.do'/>" target="conframe" class="menu">文章管理</a></li>
                    <li><img align="absmiddle" src="<c:url value='/frame/arr_06.jpg'/>"> <a
                            href="<c:url value='/system/toVideoManage.do'/>" target="conframe" class="menu">音视频管理</a></li>
                </ul>
            </div>
        </td>
        <td style='padding-left:3px;padding-top:0px;' valign="top">
                <iframe name="conframe" id="conframe" frameborder="0" scrolling="no" style="width:100%;height:450px;" src="<c:url value='/welcome.jsp'/>"></iframe>
        </td>
    </tr>
</table>
    <jsp:include page="bottom.jsp"/>
</body>
<script type="text/javascript">
    function _setHeight() {
        var _rf = document.frames("conframe").document.body.scrollHeight;
        if (_rf < 500) {
            _rf = 500;
        }
        document.getElementById("conframe").style.height = _rf;
    }
</script>
</html>